package com.youth.youthservice.entity;

import java.util.Date;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
 * 课程收藏(EduCourseCollect)表实体类
 *
 * @author CM
 * @since 2023-05-05 13:18:20
 */
@SuppressWarnings("serial")
@Data
@NoArgsConstructor
@TableName("edu_course_collect")
public class EduCourseCollect  {
    //收藏ID
    @TableId(value = "id",type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "收藏id")
    private String id;
    //课程讲师ID
    @ApiModelProperty(value = "课程id")
    private String courseId;
    //用户ID
    @ApiModelProperty(value = "用户id")
    private String memberId;
    //讲师ID
    @ApiModelProperty(value = "讲师id")
    private String teacherId;

    //逻辑删除 1（true）已删除， 0（false）未删除
    private Integer isDeleted;

    //创建时间
    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE) /* mybatis-plus的自动插入更新 */
    private Date gmtModified;
    //是否置顶
    @ApiModelProperty(value = "是否置顶，1代表置顶，0代表不置顶")
    private Integer top;

}

